﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    enum IronType
    { 
        修补NPC,
        强化NPC,
        打造NPC
    }
    class IronNPC:NPC
    {
        private string ironInfo;
        private IronType type3;

        public IronNPC() { }

        public IronNPC(string name , NPCType npctype , IronType type3 , string ironInfo) : base(name,npctype)
        {
            this.type3 = type3;
            this.ironInfo = ironInfo;
        }

        public override void Hello()
        {
            Console.WriteLine("歪比歪比，歪比巴布");
            Console.WriteLine("我叫：{0}，我是{1}中的{2}，我可以帮你：{3}", base.Name , base.NpcType , this.type3, this.ironInfo);
        }

        public string IronInfo
        {
            get { return this.ironInfo; }
            set { this.ironInfo = value; }
        }
        public IronType Type3
        {
            get { return this.type3; }
            set { this.type3 = value; }
        }
    }
}
